package org.doubango.ngn.model.refactoring;

import org.doubango.ngn.media.NgnMediaType;
import org.doubango.ngn.model.NgnHistoryEvent;

/**
 * @author dpGroup
 * Regarding NullObject Refactoring
 */
public class NullNgnHistoryEvent extends NgnHistoryEvent{

	protected NullNgnHistoryEvent(NgnMediaType mediaType, String remoteParty) {
		super(mediaType, remoteParty);
	}
	
	public static NgnHistoryEvent createObject() {
		return new NullNgnHistoryEvent(null, "");
	}
	
	public void setStartTime(long time){
	}
	
	public long getStartTime(){
		return new Long(null);
	}
	
	public long getEndTime(){
		return new Long(null);
	}
	
	public void setEndTime(long time){
	}
	
	public NgnMediaType getMediaType(){
		return mMediaType;
	}
	
	public String getRemoteParty(){
		return mRemoteParty;
	}
	
	public void setRemoteParty(String remoteParty){
		mRemoteParty = remoteParty;
	}
	
	public boolean isSeen(){
		return mSeen;
	}
	
	public void setSeen(boolean seen){
		mSeen = seen;
	}
	
	public StatusType getStatus(){
		return mStatus;
	}
	
	public void setStatus(StatusType status){
		mStatus = status;
	}
	
	public void setDisplayName(String displayName){}
	
	public String getDisplayName(){
		return "";
	}
	
	@Override
	public int compareTo(NgnHistoryEvent another) {
		return new Integer(null);
	}
}
